package com.wandian.core.xmlCore
{
	import flash.utils.Dictionary;
	
	public class XmlListLibrary
	{
		public function XmlListLibrary()
		{
		}
		private var _uiStyleDic:Dictionary=new Dictionary;
		public function  setUIStyle(xml:XMLList):Dictionary{
			for(var i:int=0;i<xml.length();i++){
				_uiStyleDic[String(xml[i].@stylename)]=xml[i]
			}
			return _uiStyleDic;
		}
		public function get getStyleDic():Dictionary{
			return _uiStyleDic;
		}
	}
}